package com.csp.mingyue.auth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 短信登录入参
 *
 * @author Strive
 */
@Data
@Schema(description = "短信登录入参")
public class SmsLoginDto {

	/**
	 * 手机号
	 */
	@Schema(description = "手机号")
	@NotBlank(message = "手机号不能为空")
	private String phone;

	/**
	 * 短信code
	 */
	@Schema(description = "短信code")
	@NotBlank(message = "短信code不能为空")
	private String smsCode;

}
